*"* use this source file for any type of declarations (class
*"* definitions, interfaces or type declarations) you need for
*"* components in the private section
    TYPES: BEGIN OF ty_json,
             itemcode TYPE string,
           END OF ty_json.

    TYPES:BEGIN OF t_stock,
            whscode  TYPE string,
            whsname  TYPE string,
            quantity TYPE string,
          END OF t_stock.
    TYPES: tt_stock TYPE STANDARD TABLE OF t_stock WITH DEFAULT KEY.

    TYPES:BEGIN OF t_data,
            itemcode  TYPE string,
            itemname  TYPE string,
            whscode   TYPE string,
            stocklist TYPE tt_stock,
          END OF t_data.
    TYPES:tt_data TYPE STANDARD TABLE OF t_data WITH DEFAULT KEY.

    TYPES:BEGIN OF ty_msg,
            state    TYPE string,
            errormsg TYPE string,
            data     TYPE tt_data,
          END OF ty_msg.

    TYPES:BEGIN OF ty_tab,
            product             TYPE i_stockquantitycurrentvalue_2-product,
            plant               TYPE i_stockquantitycurrentvalue_2-plant,
            storagelocation     TYPE i_stockquantitycurrentvalue_2-storagelocation,
            stock               TYPE i_stockquantitycurrentvalue_2-matlwrhsstkqtyinmatlbaseunit,
            unit                TYPE i_stockquantitycurrentvalue_2-materialbaseunit,
            productgroup        TYPE i_stockquantitycurrentvalue_2-productgroup,
            producttype         TYPE i_stockquantitycurrentvalue_2-producttype,
            productname         TYPE i_producttext-productname,
            storagelocationname TYPE i_storagelocation-storagelocationname,
          END OF ty_tab.

    TYPES:BEGIN OF ty_stock2,
            product             TYPE i_stockquantitycurrentvalue_2-product,
            plant               TYPE i_stockquantitycurrentvalue_2-plant,
            storagelocation     TYPE i_stockquantitycurrentvalue_2-storagelocation,
            stock               TYPE i_stockquantitycurrentvalue_2-matlwrhsstkqtyinmatlbaseunit,
            storagelocationname TYPE i_storagelocation-storagelocationname,
          END OF ty_stock2.
